<?php
/**
 * Created by PhpStorm.
 * User: 王飞
 * Date: 2017/8/24
 * Time: 0:25
 */
namespace app\common\model;

use think\Model;

class Comment extends Model
{
	
	public function worklog()
	{
		return $this->belongsTo('worklog','worklog_id','id');
	}
	public function user()
	{
		return $this->belongsTo('user','user_id','id');
	}
	
}